package org.itboys.mobile.entity.mysql.order;


import org.itboys.mysql.entity.BaseMySqlEntity;

import java.math.BigDecimal;

/**
 * 作者：jiangxiong
 * 日期：2017年5月8日
 * 联系方式 ：empty90911@126.com
 * 描述：圣代_订单_实体_商品。如果字段不够请自行扩展。不需要继承此类！！！！！！！！！！！！
 */
public class SundayOrderProduct extends BaseMySqlEntity {
        private Long orderId;//订单id
        private BigDecimal price;//零售价或销售价
        private Long productId;//产品Id
        private String name;//产品名称
        private String number;//产品编号
        private String image;//产品图片
        private String standard;//规格
        private Integer num;//数量
        public SundayOrderProduct() {
        }

    public SundayOrderProduct(Long orderId, BigDecimal price, Long productId, String name, String number, String image, String standard, Integer num) {
        this.orderId = orderId;
        this.price = price;
        this.productId = productId;
        this.name = name;
        this.number = number;
        this.image = image;
        this.standard = standard;
        this.num = num;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getStandard() {
        return standard;
    }

    public void setStandard(String standard) {
        this.standard = standard;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }
}
